package com.moxiao.yfjh.module.order.controller.app.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.moxiao.yfjh.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 *
 */
@Data
public class AppWithdrawVo {

    @Schema(description = "用户id：当前登录用户的userid", requiredMode = Schema.RequiredMode.REQUIRED, example = "25392")
    @NotNull(message = "用户编号不能为空")
    private Long userId;

    @Schema(description = "提现金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "31509")
    @NotNull(message = "提现金额不能为空")
    private BigDecimal price;

    /**
     * 提现类型：1-微信；2-支付宝
     */
    @Schema(description = "提现类型：1-微信；2-支付宝", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "提现类型不能为空；1-微信；2-支付宝")
    private Byte type;

}
